#include <iostream>
#include "queue.hpp"
using namespace std;

int main()
{
    my_queue::queue<int> que;
    que.push(1);
    que.push(2);
    que.push(3);
    que.push(4);
    cout << que.front() << endl;
    cout << que.back() << endl;
    cout << "------------" << endl;
    while(!que.empty())
    {
        cout << que.front() << " ";
        que.pop();
    }
    cout << endl;
    return 0;
}